package pl.edu.mimuw.irs.core.model.analysis;

import pl.edu.mimuw.irs.core.model.design.processing.Resource;
import pl.edu.mimuw.irs.core.model.petrinet.Place;

public class ResourcePlace extends Place {

	// *** Attributes
	
	private Resource resource;
	public Resource getResource() {
		return resource;
	}
	public void setResource(Resource resource) {
		this.resource = resource;
	}

	// *** Constructors

	public ResourcePlace(Resource resource) {
		super(getPrefixedNewId("Idle" + resource.getName() + "_"));
		setResource(resource);
	}
	
	// *** Methods
}
